import request from '@/utils/request'

//邮件分页列表
export function queryMailPageList(data) {
	return request({
		method: 'post',
		url: 'tbMailMessage/queryPageList',
		headers: {
			userButton: 'cca331962efb4049b2dce3f29501c63d'
		},
		data
	})
}

//邮件详情
export function mailDetail(id) {
	return request({
		method: 'get',
		url: 'tbMailMessage/query/' + id,
		headers: {
			userButton: '707213fba3a242f4ae0f6147bac75fca'
		}
	})
}

//邮件发送 - 反馈
export function mailSendFeed(id) {
	return request({
		method: 'get',
		url: 'tbMailMessage/sendFeed/' + id,
		headers: {
			userButton: '8b64f2247a7b4a6887c692b25de7b5c3'
		}
	})
}

//邮件发送 - 成果
export function mailSendMarvel(id) {
	return request({
		method: 'get',
		url: 'tbMailMessage/sendMarvel/' + id,
		headers: {
			userButton: '53721b967faa49b4810cd21681de29f4'
		}
	})
}